package eclipse.server;
import eclipse.lib.player.*;
import eclipse.lib.sockets.*;
import eclipse.server.threadpool.*;
/** Specific Values that the Server uses. */
/*
 * Copyright (c) 2009, TOD Productions All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
 *	- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
 *	- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
 *	-Neither the name of the organization nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. 
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
 */
public class Database 
{
	/** Object that represents the Threads */
	public static ThreadCache	threadCache;
	/** Object that represents the Sockets */
	public static ClientSocket client[];
	/** Object that represents the Server */
	public static ServerSocket server;
	/** Miliseconds between checking if there is data at a Socket */
	public static int NETPROCESSINTERVAL	= 10;
	/** Number of Clients that can connect.*/
	public static int CLIENTNUM				= 5;
	/** Port that the Server listens off of */
	public static int PORTNUM				= 4001;
	/** Time to wait between Client connections */
	public static int CLIENTTIMEOUT			= 2000;
	/** Number of Players that can connect. */
	public static int MAXPLAYERS			= 5;
	/** Number of items to load */
	public static int MAXITEMS				= 5;
	/** Number of NPCs to load */
	public static int MAXNPCS				= 5;
	/** Number of Spells to load */
	public static int MAXSPELLS				= 5;
	/** Number of Classes to load */
	public static int MAXCLASSES			= 5;
	/** Number of maps to load */
	public static int MAXMAPS				= 5;
	/** Number of Shops to load */
	public static int MAXSHOPS				= 5;
	/** Maximum value for a player's inventory */
	public static int MAXPLAYERINVENTORY	= 20;
	/** Maximum value for a player's spells */
	public static int MAXPLAYERSPELLS		= 20;
	/** Object that represents each player. */
	public static Player player[];
	public static String GameName 			= "Eclipse";
	public static String SVN				= "http://eclipse-mmorpgmaker.googlecode.com/svn/trunk/";
	public static vt100console.Console console = new vt100console.Console(System.in, System.out);
}